package example.file;

import java.io.File;

/**
 * Created by lenovo on 2016/11/4 0004.
 * File 类的 file.isHidden() 方法来判断文件是否隐藏
 */
public class Hidden {
    public static void main(String[] args) {
        File file = new File("D:/Demo.txt");
        System.out.println(file.isHidden());
    }
}
